package com.jsbb.dto.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 密码修改DTO
 *
 * @author w
 * @date 2021-03-05
 */
@Data
public class PwdUpdateDto {

    @NotNull
    @ApiModelProperty(value = "ID", required = true)
    private Long id;

    @NotEmpty
    @ApiModelProperty(value = "旧密码", required = true)
    private String oldPwd;

    @NotEmpty
    @ApiModelProperty(value = "新密码", required = true)
    private String newPwd;

    @NotEmpty
    @ApiModelProperty(value = "确认密码", required = true)
    private String confirmPwd;
}
